import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)

const state = {
    title: '人员列表',
}

const mutations = {
    setState (state, data){
        state.title = data.title
    }
}

const getters = {

}

export default new Vuex.Store({
    state,
    mutations,
    getters
})